package com.bwie.es.service;

import com.bwie.common.domain.request.ProductRequest;
import com.bwie.common.result.PageResult;
import com.bwie.common.result.Result;

import java.util.List;

public interface EsService {
    Result<PageResult<ProductRequest>> search(ProductRequest productRequest);

    void insertBatch(List<ProductRequest> ProductRequests);

    void deleteCourseEs();
}
